Integrand size = 28, antiderivative size = 223 \[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=-\frac {2 \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b^2 \sqrt {1+c^2 x^2} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b^2 \sqrt {1+c^2 x^2} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}} \]
[Out]
Time = 0.15 (sec) , antiderivative size = 223, normalized size of antiderivative = 1.00, number of steps used = 8, number of rules used = 5, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.179, Rules used = {5816, 4267, 2611, 2320, 6724} \[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=-\frac {2 \sqrt {c^2 x^2+1} \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))^2}{\sqrt {c^2 d x^2+d}}-\frac {2 b \sqrt {c^2 x^2+1} \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))}{\sqrt {c^2 d x^2+d}}+\frac {2 b \sqrt {c^2 x^2+1} \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right ) (a+b \text {arcsinh}(c x))}{\sqrt {c^2 d x^2+d}}+\frac {2 b^2 \sqrt {c^2 x^2+1} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {c^2 d x^2+d}}-\frac {2 b^2 \sqrt {c^2 x^2+1} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {c^2 d x^2+d}} \]
[In]
[Out]
Rule 2320
Rule 2611
Rule 4267
Rule 5816
Rule 6724
Rubi steps \begin{align*} \text {integral}& = \frac {\sqrt {1+c^2 x^2} \text {Subst}\left (\int (a+b x)^2 \text {csch}(x) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {d+c^2 d x^2}} \\ & = -\frac {2 \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {\left (2 b \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \log \left (1-e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {d+c^2 d x^2}}+\frac {\left (2 b \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int (a+b x) \log \left (1+e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {d+c^2 d x^2}} \\ & = -\frac {2 \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {\left (2 b^2 \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,-e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {d+c^2 d x^2}}-\frac {\left (2 b^2 \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int \operatorname {PolyLog}\left (2,e^x\right ) \, dx,x,\text {arcsinh}(c x)\right )}{\sqrt {d+c^2 d x^2}} \\ & = -\frac {2 \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {\left (2 b^2 \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,-x)}{x} \, dx,x,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {\left (2 b^2 \sqrt {1+c^2 x^2}\right ) \text {Subst}\left (\int \frac {\operatorname {PolyLog}(2,x)}{x} \, dx,x,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}} \\ & = -\frac {2 \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x))^2 \text {arctanh}\left (e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b \sqrt {1+c^2 x^2} (a+b \text {arcsinh}(c x)) \operatorname {PolyLog}\left (2,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}+\frac {2 b^2 \sqrt {1+c^2 x^2} \operatorname {PolyLog}\left (3,-e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}}-\frac {2 b^2 \sqrt {1+c^2 x^2} \operatorname {PolyLog}\left (3,e^{\text {arcsinh}(c x)}\right )}{\sqrt {d+c^2 d x^2}} \\ \end{align*}
Time = 0.76 (sec) , antiderivative size = 266, normalized size of antiderivative = 1.19 \[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\frac {a^2 \log (c x)}{\sqrt {d}}-\frac {a^2 \log \left (d+\sqrt {d} \sqrt {d+c^2 d x^2}\right )}{\sqrt {d}}+\frac {2 a b \sqrt {1+c^2 x^2} \left (\text {arcsinh}(c x) \left (\log \left (1-e^{-\text {arcsinh}(c x)}\right )-\log \left (1+e^{-\text {arcsinh}(c x)}\right )\right )+\operatorname {PolyLog}\left (2,-e^{-\text {arcsinh}(c x)}\right )-\operatorname {PolyLog}\left (2,e^{-\text {arcsinh}(c x)}\right )\right )}{\sqrt {d+c^2 d x^2}}+\frac {b^2 \sqrt {1+c^2 x^2} \left (\text {arcsinh}(c x)^2 \log \left (1-e^{-\text {arcsinh}(c x)}\right )-\text {arcsinh}(c x)^2 \log \left (1+e^{-\text {arcsinh}(c x)}\right )+2 \text {arcsinh}(c x) \operatorname {PolyLog}\left (2,-e^{-\text {arcsinh}(c x)}\right )-2 \text {arcsinh}(c x) \operatorname {PolyLog}\left (2,e^{-\text {arcsinh}(c x)}\right )+2 \operatorname {PolyLog}\left (3,-e^{-\text {arcsinh}(c x)}\right )-2 \operatorname {PolyLog}\left (3,e^{-\text {arcsinh}(c x)}\right )\right )}{\sqrt {d+c^2 d x^2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(545\) vs. \(2(250)=500\).
Time = 0.28 (sec) , antiderivative size = 546, normalized size of antiderivative = 2.45
method | result | size |
default | \(-\frac {a^{2} \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right )}{\sqrt {d}}+b^{2} \left (-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}\right )+2 a b \left (\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}\right )\) | \(546\) |
parts | \(-\frac {a^{2} \ln \left (\frac {2 d +2 \sqrt {d}\, \sqrt {c^{2} d \,x^{2}+d}}{x}\right )}{\sqrt {d}}+b^{2} \left (-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right )^{2} \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {2 \sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (3, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}\right )+2 a b \left (\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1-c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}+\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {arcsinh}\left (c x \right ) \ln \left (1+c x +\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}-\frac {\sqrt {d \left (c^{2} x^{2}+1\right )}\, \operatorname {polylog}\left (2, -c x -\sqrt {c^{2} x^{2}+1}\right )}{\sqrt {c^{2} x^{2}+1}\, d}\right )\) | \(546\) |
[In]
[Out]
\[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}^{2}}{\sqrt {c^{2} d x^{2} + d} x} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\int \frac {\left (a + b \operatorname {asinh}{\left (c x \right )}\right )^{2}}{x \sqrt {d \left (c^{2} x^{2} + 1\right )}}\, dx \]
[In]
[Out]
\[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}^{2}}{\sqrt {c^{2} d x^{2} + d} x} \,d x } \]
[In]
[Out]
\[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\int { \frac {{\left (b \operatorname {arsinh}\left (c x\right ) + a\right )}^{2}}{\sqrt {c^{2} d x^{2} + d} x} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(a+b \text {arcsinh}(c x))^2}{x \sqrt {d+c^2 d x^2}} \, dx=\int \frac {{\left (a+b\,\mathrm {asinh}\left (c\,x\right )\right )}^2}{x\,\sqrt {d\,c^2\,x^2+d}} \,d x \]
[In]
[Out]